package com.springinaction.springaop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.DeclareParents;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class EncoreableIntroducer {
	
	/**
	 * 对象层次结构中拥有新的父类型
	 */
	@DeclareParents(value="com.springinaction.springaop.Performance+", defaultImpl=EncoreableImpl.class)
	public static Encoreable encoreable;
}
